
#include <stdio.h>


extern FILE *fsopen(const char* filename,const char * mode);
extern int fswrite(const void *buffer,int size,int cnt,FILE *file);
extern int fsread(void *buffer,int size,int cnt,FILE *file);
extern int fsize(FILE *file);
extern void fslist(char* path);
extern int fs_format(void (*pCallback)());
extern unsigned int fs_ffind (unsigned char code, unsigned char *buf, unsigned char *mask, unsigned int buflen);

#define FHANDLE 	FILE*
#define FOPEN 		fsopen
#define FCLOSE 		fclose	
#define FWRITE		fswrite
#define FREAD			fsread
#define FSEEK			fseek
#define FTELL			ftell
#define FREN 			frename
#define FFIND			fs_ffind
#define FRM 			fdelete
#define FSIZE(A) 	fsize(A)
#define FINIT(A) 	finit(A)
#define FLIST(A)	fslist
#define FFORMAT	 	fs_format
